
#ifndef GOMOKU_UI_WINDOW_HPP
# define GOMOKU_UI_WINDOW_HPP

# include <map>
# include <SFML/Graphics.hpp>

namespace Gomoku
{
	namespace UI
	{
		class ImageManager
		{
		public:
			ImageManager();
			virtual ~ImageManager();

			sf::Image* getImage(std::string const & name);
			sf::Sprite* getSprite(std::string const & name);

		private:
			void _loadImage(std::string const & name, std::string const & path);

		private:
			std::map<std::string, sf::Image*> _sfImages;
		};
	}
}

#endif // GOMOKU_UI_WINDOW_HPP